export function doctorMenus(user?: IUser): Array<IMenu> {
  const parent = user?.number ?? 'doctorrouter'

  return [
    {
      key: '/' + parent, name: '用户路由', redirect: parent + '/subscribeList', component: () => import('@/views-doctor/home.vue'),
      children: [{ key: 'subscribeList', name: '预约列表', component: () => import('@/views-doctor/subscribe-list/subscribe-list.vue') }],
    },
  ]
}
